package com.magic.smartcity.interfaces.base;

import androidx.fragment.app.Fragment;

import com.magic.smartcity.beans.BalanceBean;
import com.magic.smartcity.beans.FeedbackBean;
import com.magic.smartcity.beans.UserBean;
import com.magic.smartcity.interfaces.IUserCallBack;

import java.util.List;

/**
 * @description: 所有用到UserPresenter的Fragment类只需要继承此方法，
 * 可以不用实现全部回调函数，需要使用哪个回调函数直接重写方法即可
 * @create: Create by Magic on 2022/2/12.
 */
public abstract class BaseUserCallBackFragment extends Fragment implements IUserCallBack {

    @Override
    public void getUserLoaded(UserBean.UserBeanDo user) {

    }

    @Override
    public void loginOk(String token) {

    }

    @Override
    public void registerOk(String token) {

    }

    @Override
    public void updatePassword(String msg) {

    }

    @Override
    public void feedbackListLoaded(List<FeedbackBean> beanList) {

    }

    @Override
    public void feedbackSubmitOk(String str) {

    }

    @Override
    public void feedbackByIdLoaded(FeedbackBean bean) {

    }

    @Override
    public void balanceListLoaded(List<BalanceBean> beanList) {

    }


    @Override
    public void balanceRechargeOk(String str) {

    }

}
